#! /bin/bash

if [ -e test ]
then
    rm test
fi

if [ -e main ]
then
    rm main
fi

g++ main.cpp -o main
./main

g++ test.cpp -o test -lpthread
./test > log.txt
